<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:73:"D:\Code\matian\matian\application\admin\view\bootstrap\home_pic\form.html";i:1498406351;}*/ ?>
<div class="row wrapper border-bottom white-bg page-heading">
    <div class="col-lg-10">
        <h2>app首页轮播图</h2>
        <ol class="breadcrumb">
            <li>
                <a href="#">首页</a>
            </li>
            <li>
                <a href="#<?php echo U('HomePic/'); ?>">app首页轮播图</a>
            </li>
            <li class="active">
                <strong><?php echo !empty($isEdit)?'修改':'添加'; ?>app首页轮播图</strong>
            </li>
        </ol>
    </div>
</div>

<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <div>
                        <button class="btn btn-link" type="button" onclick="history.back()">
                            <span class="fa fa-angle-left"></span>
                            返回
                        </button>
                    </div>
                    <form method="post" class="form-horizontal" id="form1">
                                              
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">图片名称</label>
                            <div class="col-sm-10">
                                                                <input value="<?php echo $m['name']; ?>" placeholder="图片名称" name="name" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">图片</label>
                            <div class="col-sm-10">

                                <?php echo _img_up('img_url',$m['img_url']); ?>
                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">上传日期</label>
                            <div class="col-sm-10">
                                                                <input value="<?php echo $m['create_date']; ?>" placeholder="上传日期" name="create_date" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">是否删除</label>
                            <div class="col-sm-10">
                                                                <input value="<?php echo $m['is_del']; ?>" placeholder="是否删除" name="is_del" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <div class="col-sm-4 col-sm-offset-2">
                                <!--<button class="btn btn-white" data-op="reset" type="button">重 置</button>-->
                                <!--&nbsp;-->
                                <!--&nbsp;-->
                                <button data-style="expand-left" class="btn btn-primary ladda-button" type="button"
                                        data-op="submit">确 定
                                </button>
                            </div>
                        </div>
                        <div>
                            <button class="btn btn-link" data-op="back" type="button">
                                <span class="fa fa-angle-left"></span>
                                返回
                            </button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<script>
    YForm.create('#form1', "<?php echo U('saveModel'); ?>",'<?php echo $m['id']; ?>');
</script>